#ifndef INVERTER_SCHEDULER_H
#define INVERTER_SCHEDULER_H

#include "abstract_scheduler.h"

namespace scheduler
{
/**
 * @brief:  反转，成功变成失败，失败变成成功
 * @author: sherlock_lht
 */
class InverterScheduler: public AbstractScheduler
{
public:
    explicit InverterScheduler(const std::string &name);
    ~InverterScheduler() override;

    [[deprecated("inverter scheduler cannot add task")]] bool appendTask(const task::AbstractTaskConstPtr &task) override;

    [[deprecated("inverter scheduler cannot add scheduler")]] bool appendScheduler(const AbstractSchedulerConstPtr &scheduler) override;
};

}

#endif //INVERTER_SCHEDULER_H
